﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="Members.aspx.cs" Inherits="NewGlobalBizAssist.Members" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:Button ID="btn" runat="server" Text="Add" onclick="btn_Click" />
<asp:GridView ID="gvMembers" runat="server" AutoGenerateColumns="False" BackColor="White"  
BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4"  
    onpageindexchanging="gv_PageIndexChanging"  
    onrowdatabound="gv_RowDataBound"
    onsorting="gv_Sorting"
    onrowdeleting="gv_RowDeleting"> 
<RowStyle BackColor="White" ForeColor="#003399" /> 
    <Columns> 
        <asp:CommandField ShowDeleteButton="true" HeaderText="CommandField" 
            DeleteText="Delete" HeaderStyle-HorizontalAlign="Right" 
            ItemStyle-HorizontalAlign="Right" ButtonType="Button" >
        </asp:CommandField>
        <asp:TemplateField HeaderText="Member ID" SortExpression="MemberID">
            <ItemTemplate>
                <asp:HyperLink ID="link1" runat="server" Text='<%# Bind("MemberID") %>'/>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="LastName" HeaderText="Last Name" ReadOnly="True"  
            SortExpression="LastName" /> 
        <asp:BoundField DataField="FirstName" HeaderText="First Name" ReadOnly="True"  
            SortExpression="FirstName" /> 
        <asp:BoundField DataField="MiddleName" HeaderText="Middle Name" ReadOnly="True"  
            SortExpression="MiddleName" /> 
        <asp:BoundField DataField="Category" HeaderText="Category" ReadOnly="True"  
            SortExpression="Category" />
        <asp:BoundField DataField="DateRegistered" HeaderText="Date Registered" ReadOnly="True"  
            SortExpression="DateRegistered" />
    </Columns> 
    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" /> 
    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" /> 
    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" /> 
    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" /> 
</asp:GridView> 


</asp:Content>
